package test.条件控制语句if

fun main(args: Array<String>) {
    val max = max(3, 1)
    println(max)
}

fun max(a: Int, b: Int): Int {
    return if (a > b) a else b
}